/*
 主色调 #35495e
 * */
html, body {
    padding: 0rem;
    margin: 0px;
    height: 100%;
    background-color: #F2F2F2;
    color: #666;
}

#app {
    height: calc(100% - 50px);
}

/*
 配色
 * */
#colors {
    height: 0px !important;
}

/*
 头部导航
 * */
#header {
    height: 50px;
    background-color: rgba(255, 255, 255, 1);
    overflow: hidden;
    display: block;
}

#header .logo {
    width: 150px;
    float: left;
    background-color: #35495e;
    transition: all .3s;
    background-image: url("/static/run/static/images/bg.png");
}

#header .logo a {
    display: block;
    height: 50px;
    text-align: center;
    text-decoration: none;
    line-height: 50px;
    color: #fff;
}

#header .layui-nav {
    background: 0 0;
}

#header .layui-nav .layui-this:after {
    background-color: rgba(255, 255, 255, 0);
}

/*
 头部左侧菜单栏
 * */
.top-nav-left {
    float: left;
    height: 50px;
    padding: 0;
    border-left: 1px solid #eee;
}

.top-nav-left li a {
    color: #333 !important;
    display: block;
    height: 50px;
    line-height: 50px;
    transition: all .3s;
    -webkit-transition: all .3s
}

/*
 头部右侧菜单栏
 * */
.top-nav-right {
    float: right;
    height: 50px;
    padding: 0;
}

.top-nav-right li a {
    color: #333 !important;
    display: block;
    height: 50px;
    line-height: 50px;
    transition: all .3s;
    -webkit-transition: all .3s
}

.top-nav-right .layui-nav-bar {
    top: 0px !important;
}

#container {
    height: 100%;
}

/*
 左侧菜单栏
 * */
#left-nav {
    width: 150px;
    background-color: rgb(0, 139, 139);
    height: 100%;
    float: left;
    position: relative;
    top: 0px;
    overflow: hidden;
    transition: all .5s;
}

/*
调整菜单级别
*/
#left-nav ul li > dl {
    width: 100px;
    margin-left: 15px;
}

#left-nav .layui-nav-child a {
    width: 90px;
}

#left-nav ul li > dl dd > dl {
    width: 100px;
    margin-left: 15px;
}

#user-head a {
    width: 100%;
    display: block;
}

#user-head a img {
    width: 50%;
    height: 75px;
    margin-left: calc(50% - 35px);
    border-radius: 50%;
}

#user-head p {
    text-align: center;
    margin: 10px 0px;
    color: #fff;
}

#left-nav .layui-nav {
    background-color: rgba(255, 255, 255, 0);
}

#left-nav .layui-nav-tree {
    width: 100%;
}

#left-nav .layui-nav-tree .layui-nav-itemed > .layui-nav-child {
    background-color: rgba(255, 255, 255, 0) !important;
}

#left-nav .layui-nav-tree .layui-nav-item a:hover {
    /*background-color:#f2f2f2 !important;*/
}

/*
 内容区域
 * */
#content {
    position: relative;
    width: calc(100% - 150px);
    float: right;
    height: 100%;
    overflow: auto;
}

#content .body {
    padding: 10px;
    overflow: auto;
}

.search-block {
    background-color: #fff;
    padding: 10px;
}

.search-block .layui-form .layui-form-item {
    margin-bottom: 0px;
}

/*
 首页四格颜色
 * */
.index-top-gird > div {
    height: 100px;
    overflow: hidden;
    text-align: center;
}

.index-top-gird > div > div div span {
    color: #fff;
    line-height: 90px;
}

.index-top-gird .message {
    background-color: red;
    height: 100%;
    border-radius: 5px;
}

.index-top-gird .article {
    background-color: green;
    height: 100%;
    border-radius: 5px;
}

.index-top-gird .member {
    background-color: #008B8B;
    height: 100%;
    border-radius: 5px;
}

.index-top-gird .unkonw-user {
    background-color: red;
    height: 100%;
    border-radius: 5px;
}

/*
 底部版权区域
 * */
#footer {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #eee;
    position: fixed;
    bottom: 0px;
}

/*锁屏样式*/
.lock-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    z-index: 999;
    background-image: url(../images/lock-bg.jpg);
    background-size: cover;
    display: none;
}

.get-lock-block {
    position: absolute;
    width: 300px;
    height: 300px;
    left: calc(50% - 150px);
    top: calc(50% - 150px);
    background-color: rgba(255, 255, 255, .8);
    border-radius: 20px;
}

.get-lock-block .get-lock-form {
    position: absolute;
    width: 300px;
    height: 300px;
}

.input-div {
    padding: 20px;
}

.lock-btn {
    text-align: center;
}

.lock-head {
    text-align: center;
}

.lock-head img {
    border-radius: 50%;
    margin-top: 20px;
}